import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * Created by leanne on 7/17/14.
 */
public class vertical {
    public static void main(String args[]) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("Please enter number of asterisks to print");
        try {
            int input = Integer.parseInt(reader.readLine());
            outputAsterisksVertically(input);
        } catch(NumberFormatException n) {
            System.out.println("Incorrect format");
        }
    }

    private static void outputAsterisksVertically(int numOfAsterisks) {
        for(int i = 0; i < numOfAsterisks; i++) {
            System.out.println("*");
        }
    }
}
